import request from "@/utils/request";

export function login(params) {
  return request({
    url: "/home/login/toLogin",
    method: "post",
    params
  });
}

export function logout() {
  return request({
    url: "/home/login/logout",
    method: "post"
  });
}
